<?php

include_once ("../model/queryLogin.php");
include_once ("../class/classLogin.php");
include_once ("../class/classDB.php");

$log = new querysLogin();
$log ->login($_POST["user"], $_POST["password"]);


$bd = "social";
$host = "localhost";
$user = "root";
$password = "";

$conexion = new conexion($bd, $host, $user, $password);
$conexion->conectar();

$autentificacion = new Login();
$autentificacion->executeLogin($log, $conexion);


var_dump($autentificacion);

?>